package com.atguigu.spring.cycle;

public class Car {
   /* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Car [brand=" + brand + "]";
	}
public Car(){
	   System.out.println("car is construct");
   }
   private String brand;
/**
 * @return the brand
 */
public String getBrand() {
	return brand;
}
/**
 * @param brand the brand to set
 */
public void setBrand(String brand) {
	System.out.println("setBrand......");
	this.brand = brand;
}
public void init(){
	System.out.println("init........");
}

public void destroy(){
	System.out.println("destory.........");
}
}
